package com.hnu.highlynewapp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hnu.highlynewapp.utils.PageUtils;
import com.hnu.highlynewapp.entity.FinancingNeedEntity;
import com.hnu.highlynewapp.vo.PublishFinancialNeedVo;

import java.util.List;
import java.util.Map;

/**
 * 融资需求
 *
 * @author hnu_worker
 * @email 825963704@qq.com
 * @date 2021-01-03 10:35:56
 */
public interface FinancingNeedService extends IService<FinancingNeedEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<FinancingNeedEntity> listByCondition(String duration, String field);

    void publish(PublishFinancialNeedVo vo);

    List<FinancingNeedEntity> listByBusinessID(long businessID);
}

